package com.ziyueyuwen.xiniao.thirdpart.bean.wx;

import com.suyeer.fastwechat.bean.fwtemplate.FwTemplateValueBean;

import java.util.HashMap;

/**
 * @author wancheng  on 2018/12/19.
 */
public class WxTemplate {

    private String color = "#4e72b8";
    private HashMap<String,FwTemplateValueBean> fwTemplateValueBeanHashMap = new HashMap<>();

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public HashMap<String, FwTemplateValueBean> getFwTemplateValueBeanHashMap() {
        return fwTemplateValueBeanHashMap;
    }

    public void setFwTemplateValueBeanHashMap(HashMap<String, FwTemplateValueBean> fwTemplateValueBeanHashMap) {
        this.fwTemplateValueBeanHashMap = fwTemplateValueBeanHashMap;
    }
    public WxTemplate put(String key,String value){
        FwTemplateValueBean bean = new FwTemplateValueBean();
        bean.setColor(color);
        bean.setValue(value);
        this.fwTemplateValueBeanHashMap.put(key,bean);
        return this;
    }
}
